package com.tencent.stat;

import android.content.Context;
import com.tencent.stat.common.StatLogger;
import com.tencent.stat.event.b;
import com.tencent.stat.event.c;

final class ad
  implements Runnable
{
  public final void run()
  {
    try
    {
      b localb = new b(this.a, StatServiceImpl.a(this.a, false, this.b), this.c.a, this.b);
      localb.b().c = this.c.c;
      Long localLong = Long.valueOf(this.d);
      if (localLong.longValue() <= 0L)
      {
        l = 1L;
        localb.a(Long.valueOf(l).longValue());
        new as(localb).a();
        return;
      }
      long l = localLong.longValue();
    }
    catch (Throwable localThrowable)
    {
      StatServiceImpl.f().e(localThrowable);
      StatServiceImpl.a(this.a, localThrowable);
    }
  }
}